package net.xdclass.xdclassmq.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author whg
 * @create 2022/12/15 14:33
 * @description：
 */
@Configuration
@Data
public class RocketMqConfig {

    @Value("${rocketmq.order.producer.group}")
    private String producerGroup;

    @Value("${rocketmq.order.topic}")
    private String orderTopic;

    @Value("${rocketmq.nameServerAddr}")
    private String nameServerAddr;

    @Value("${rocketmq.order.consumer.group}")
    private String consumerGroup;
}
